Skip to main content

bufferMode

Type

property

Summary

Reports the number of colors the screen can display.

Syntax

get the bufferMode

Description

Use the bufferMode property to determine the color capacity of the screen. For example, you might display different images depending on the number of colors available.

If the system has more than one monitor, the bufferMode property reports the number of colors displayed on the main screen.

The value reported by the bufferMode property is updated only when you start up the application. If you change the screen settings after starting up the application, you must quit and restart to update the bufferMode.

Examples

set the label of button "Color Mode" to the bufferMode

property: colorWorld

glossary: property, application

object: image

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?